var alarmType = {
	init : function() {
		// 初始化静态数据
		alarmType.alarmTypeMap = alarmType.initAlarmMap();
	},
	/**
	 * 初始化报警类型信息
	 */
	initAlarmMap : function() {
		var alarmMap = new HashMap();
		alarmMap.put(1, "紧急报警");
		alarmMap.put(2, "超速报警");
		alarmMap.put(3, "疲劳驾驶");
		alarmMap.put(4, "预警");
		alarmMap.put(5, "GNSS模块发生故障");
		alarmMap.put(6, "GNSS天线未接或被剪断");
		alarmMap.put(7, "GNSS天线短路");
		alarmMap.put(8, "终端主电源欠压");
		alarmMap.put(9, "终端主电源掉电");
		alarmMap.put(10, "终端LCD或显示器故障");
		alarmMap.put(11, "TTS模块故障 ");
		alarmMap.put(12, "摄像头故障 ");
		alarmMap.put(13, "当天累计驾驶超时");
		alarmMap.put(14, "超时停车");
		alarmMap.put(15, "进出区域");
		alarmMap.put(16, "进出路线");
		alarmMap.put(17, "路段行驶时间不足/过长");
		alarmMap.put(18, "路线偏离报警");
		alarmMap.put(19, "车辆VSS故障");
		alarmMap.put(20, "车辆油量异常");
		alarmMap.put(21, "车辆被盗");
		alarmMap.put(22, "车辆非法点火");
		alarmMap.put(23, "车辆非法位移");
		alarmMap.put(24, "碰撞侧翻报警");
		alarmMap.put(25, "SD卡异常");
		alarmMap.put(26, "进入区域");
		alarmMap.put(27, "离开区域");
		alarmMap.put(34, "迟到报警");
		alarmMap.put(35, "禁止报警");
		alarmMap.put(36, "超速报警");
		alarmMap.put(37, "低速报警");
		alarmMap.put(38, "超时报警");
		alarmMap.put(39, "提前报警");
		alarmMap.put(40, "规定速度超时报警");
		alarmMap.put(41, "规定速度提前报警");
		alarmMap.put(43, "非法开门");
		alarmMap.put(46, "驾驶员吸烟报警");
		alarmMap.put(47, "驾驶员姿态异常报警");
		alarmMap.put(48, "疲劳驾驶报警");
		alarmMap.put(49, "前车防碰撞预警");
		alarmMap.put(50, "驾驶员打电话报警");
		alarmMap.put(51, "车道偏离报警");
		alarmMap.put(52, "车辆超时报警");
		alarmMap.put(53, "振动报警");
		alarmMap.put(54, "GPRS报警");
		alarmMap.put(55, "进入道路报警");
		alarmMap.put(56, "出道路报警");
		alarmMap.put(57, "道路超速报警");
		alarmMap.put(58, "区域内超速报警");
		alarmMap.put(59, "规定时间内进入路段报警");
		alarmMap.put(60, "盲区报警");
		alarmMap.put(61, "手柄故障");
		alarmMap.put(100, "聚集报警");
		alarmMap.put(301, "紧急报警");
		alarmMap.put(302, "超速报警");
		alarmMap.put(303, "疲劳驾驶报警");
		alarmMap.put(304, "越界报警");
		alarmMap.put(305, "偏离路线报警");
		alarmMap.put(306, "车辆移动报警");
		alarmMap.put(307, "超时驾驶报警");
		alarmMap.put(308, "进入指定区域报警");
		alarmMap.put(309, "离开指定区域报警");
		alarmMap.put(310, "路段堵塞报警");
		alarmMap.put(311, "危险路段报警");
		alarmMap.put(312, "盗警");
		alarmMap.put(313, "劫警");
		alarmMap.put(314, "其他报警");
		alarmMap.put(315, "超速报警");
		alarmMap.put(316, "疲劳驾驶报警");
		alarmMap.put(317, "地点超时停车报警");
		alarmMap.put(318, "进出地点报警");
		alarmMap.put(319, "进出区域报警");
		alarmMap.put(320, "路段偏离报警");
		alarmMap.put(321, "夜间行车报警");
		alarmMap.put(322, "分路段超速报警");
		alarmMap.put(323, "进入指定区域报警");
		alarmMap.put(324, "离开指定区域报警");
		alarmMap.put(325, "规定时间未到达指定地点报警");
		alarmMap.put(326, "规定时间未离开指定地点报警");
		alarmMap.put(9999, "离线报警");
		alarmMap.put(100101, "摄像头遮挡报警");
		alarmMap.put(100102, "超时停车报警");
		alarmMap.put(100103, "非法停车报警");
		alarmMap.put(100104, "GPS盲区报警");
		alarmMap.put(100105, "摄像头无信号报警");
		alarmMap.put(100106, "视频断电报警");
		alarmMap.put(100107, "GPS断电报警");
		alarmMap.put(100197, "疲劳驾驶报警");
		alarmMap.put(100198, "终端线路偏移报警");
		alarmMap.put(100199, "进入矩形区域报警");
		alarmMap.put(100201, "离开矩形区域报警");
		alarmMap.put(100202, "进入圆形区域报警");
		alarmMap.put(100203, "离开圆形区域报警");
		alarmMap.put(100204, "规定时间未到达指定地点报警");
		alarmMap.put(100205, "规定时间未离开指定地点报警");
		alarmMap.put(100206, "路段超速报警");
		alarmMap.put(100300, "疲劳驾驶报警");
		alarmMap.put(100301, "车辆行驶段落");
		alarmMap.put(100302, "限制时间");
		alarmMap.put(100303, "超时停车");
		alarmMap.put(100304, "刹车统计");
		alarmMap.put(100305, "空调工作");
		alarmMap.put(100306, "发动机开统计");
		alarmMap.put(100307, "启动报警");
		alarmMap.put(100308, "温度报警");
		alarmMap.put(100309, "驾驶员身份验证");
		alarmMap.put(100310, "开厢报警");
		alarmMap.put(100311, "拯救车队报警");
		alarmMap.put(100312, "异常Gps");
		alarmMap.put(100313, "超速报警");
		alarmMap.put(100314, "停车引擎报警");
		alarmMap.put(100315, "路桥费用");
		alarmMap.put(100316, "路段超时停车");
		alarmMap.put(100317, "运行报表");
		alarmMap.put(100318, "路段超速");
		alarmMap.put(100319, "道路偏离");
		alarmMap.put(100320, "道路类型超速");
		alarmMap.put(100321, "里程统计");
		alarmMap.put(100322, "每日里程记录");
		alarmMap.put(100323, "每时里程记录");
		alarmMap.put(100324, "区域进出检测");
		alarmMap.put(100325, "站点进出时间");
		alarmMap.put(100326, "站点进出次数");
		alarmMap.put(100327, "进出站停车次数报警");
		alarmMap.put(100328, "站点进出提示");
		alarmMap.put(100329, "站点报表");
		alarmMap.put(100330, "业务跟踪");
		alarmMap.put(100331, "混凝土工作内容");
		alarmMap.put(100332, "混凝土工作流程");
		alarmMap.put(100333, "开车搅拌罐停止转动超时报警");
		alarmMap.put(100334, "状态变动");
		alarmMap.put(100335, "搅拌罐变换转动方向分析");
		alarmMap.put(100336, "指定时间段区域报警");
		alarmMap.put(100337, "油位报警");
		alarmMap.put(100338, "温度增量报警");
		alarmMap.put(100339, "油位增量报警");
		alarmMap.put(100340, "休息区报警");
		alarmMap.put(100341, "弯道超速");
		alarmMap.put(100342, "按时长超速报警");
		alarmMap.put(100343, "凯运-按时长超速报警");
		alarmMap.put(100344, "道路类型行驶");
		alarmMap.put(100345, "冷柜监控报警");
		alarmMap.put(100346, "道路类型超速(长运)");
		alarmMap.put(100347, "超速行驶报警");
		alarmMap.put(100348, "摄像头关");
		alarmMap.put(100349, "司机疲劳驾驶报警");
		alarmMap.put(100350, "路桥费用");
		alarmMap.put(100351, "司机超速行驶报警");
		alarmMap.put(100352, "道路行驶速度分析");
		alarmMap.put(100353, "里程保养分析");
		alarmMap.put(100354, "行驶速度分析");
		alarmMap.put(100355, "每月里程记录");
		alarmMap.put(100356, "行驶速度分析(交委)");
		alarmMap.put(100357, "ACC状态检测报警");
		alarmMap.put(100358, "疲劳驾驶报警(交委)");
		alarmMap.put(100359, "区域弯道超速");
		alarmMap.put(100360, "凯运-生活区报警");
		alarmMap.put(100361, "凯运-超时停车");
		alarmMap.put(100362, "广汽日野车辆停运检测");
		alarmMap.put(100363, "广汽日野车终端盲区检测");
		alarmMap.put(100364, "车辆聚集报警");
		alarmMap.put(100365, "区域超时停留");
		alarmMap.put(100366, "道路进出监控");
		alarmMap.put(100367, "道路停留超时");
		alarmMap.put(100368, "区域进出监控");
		alarmMap.put(100369, "进出电子围栏(视频)");
		alarmMap.put(100370, "区域停车超时报警");
		alarmMap.put(100371, "收发车记录");
		alarmMap.put(100372, "车辆行车报警");
		alarmMap.put(100373, "转向灯检测");
		alarmMap.put(100374, "发动机开检测");
		alarmMap.put(100375, "指定线路报警");
		alarmMap.put(100376, "超载报警");
		alarmMap.put(100377, "高速限时营运报警");
		alarmMap.put(100501, "超速预警");
		alarmMap.put(100502, "超速高速报警");
		alarmMap.put(100503, "超速低速报警");
		alarmMap.put(100504, "疲劳驾驶预警");
		alarmMap.put(100505, "地点范围内停车超时报警");
		alarmMap.put(100506, "地点范围外停车超时报警");
		alarmMap.put(100507, "进入指定地点报警");
		alarmMap.put(100508, "离开指定地点报警");
		alarmMap.put(100509, "低速预警");
		alarmMap.put(100510, "低温报警");
		alarmMap.put(100511, "高温报警");
		alarmMap.put(100512, "温度变化报警");
		alarmMap.put(100513, "油量骤增报警");
		alarmMap.put(100514, "油量骤减报警");
		alarmMap.put(100515, "油量消耗报警");
		alarmMap.put(100516, "转鼓停转报警");
		alarmMap.put(100519, "路段超速报警");
		alarmMap.put(100520, "空调超时使用");
		return alarmMap;
	},
	/** 根据报警类型id获取报警名称 **/
	getAlarmName : function(type){
		return this.alarmTypeMap.get(Number(type));
	}
};
alarmType.init();
